package 慕课网;

import java.util.Scanner;

//public class Tests {
//    public static void main(String[] args) {
//        Scanner in=new Scanner(System.in);
//        String name=in.nextLine();
//        String feature=in.nextLine();
//        Monkey one=new Monkey(name,feature);
//    }
//}
public class Tests {
//    public static void main(String[] args) {
//        Scanner in=new Scanner(System.in);
//        Monkey one=new Monkey();
//        String name=in.nextLine();
//        double weight=in.nextDouble();
//        int age=in.nextInt();
//        one.setName(name);
//        one.setAge(age);
//        one.setWeight(weight);
//        System.out.println(one.getName());
//        System.out.println("他今年"+one.getAge()+"岁");
//        System.out.println("体重为"+one.getWeight()+"kg");
//    }
    private int add(int a,int b){
        return a+b;
    }
    private int add(int a,int b,int c){
        return a+b+c;
    }

    public static void main(String[] args) {
        Tests test=new Tests();
        System.out.println(test.add(1,2)+ test.add(3,4,5));
    }
}